package com.kb.design.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kb.design.annotation.FieldMeta;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 奖金配置实体类
 * 
 * @author ruoyi
 */
@Data
@TableName("bonus_allocation")
public class BonusAllocation extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 奖金类型 */
    @FieldMeta(name = "奖金类型")
    private String bonusType;

    /** 奖金占比 */
    @FieldMeta(name = "奖金占比")
    private BigDecimal bonusRatio;

    /** 类型 */
    @FieldMeta(name = "类型")
    private Integer type;

    /** 删除标志（0代表存在 1代表删除） */
    @FieldMeta(name = "删除标志")
    private String delFlag;

    private BigDecimal designNumber;
    private BigDecimal pageNumber;
    private BigDecimal valorNumber;

    private String remark;
}
